package com.IODemo.CharStream;

import java.io.FileWriter;
import java.io.IOException;

/**
 * @Author milian
 * @Date 2021/7/27 0027 20:24
 */
public class fileWriterDemo {
    public static void main(String[] args) throws IOException {
        FileWriter fw = new FileWriter("H:\\test\\b.txt");
        fw.write("aaaaa");
        fw.write("\r\n");
        fw.write("bbbb");
        fw.flush();
        fw.close();
    }
}
